﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace WCFCommon
{
    [DataContract]
    public class UserCreationFault
    {
        [DataMember]
        public string UserName;

        [DataMember]
        public string Problem;

        public UserCreationFault(string name, string problem)
        {
            UserName = name;
            Problem = problem;
        }
    }

    [DataContract]
    public class RoomCreationFault
    {
        [DataMember]
        public string RoomName;

        [DataMember]
        public string Problem;

        public RoomCreationFault(string name, string problem)
        {
            RoomName = name;
            Problem = problem;
        }
    }
}
